﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Colorful.Models
{
    #region EmailSetting
    public class EmailSetting : BaseIntId
    {
        /// <summary>
        /// SMTP地址
        /// </summary>
        public string SMTP { get; set; }
        /// <summary>
        /// 用户名
        /// </summary>
        public string Username { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Password { get; set; }
        /// <summary>
        /// 端口
        /// </summary>
        public int Port { get; set; }
        /// <summary>
        /// 是否使用SSL连接
        /// </summary>
        public bool EnableSSL { get; set; }
        /// <summary>
        /// 发件人Email
        /// </summary>
        public string SenderEmail { get; set; }
        /// <summary>
        /// 发件人名称
        /// </summary>
        public string SenderName { get; set; }
        /// <summary>
        /// 发件人名称（英文）
        /// </summary>
        public string SenderNameEn { get; set; }
        /// <summary>
        /// 模板替换地址
        /// </summary>
        public string Url { get; set; }
    }
    #endregion
}
